<?php 
session_start(); 
?>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" href="css/font-awesome.min.css">
		<link rel="stylesheet" href="css/magic-check.css">
		<link rel="stylesheet" href="css/dream.css">
		<link href="css/public_nav.css" rel="stylesheet" media="screen">
		<script src="js/jquery-1.11.1.min.js"></script>
	</head>
	<body>
		<!--
			导航栏开始
		-->
      <div class="nav">
      	<div class="logo">
      		<div class="welcome-word"><p><?php echo $user;?>您好</p></div>
      		<img src="img/log.png" style="margin:0px;height:70px; position: relative;top: 20px;left:40px;"/>
      	</div>
      	<div class="navbar">
      		<ul>
      			<li onclick="location.href='index.php'"><i class="fa fa-plus"></i>主页面</li>
      			<li onclick="location.href='myhealth.php'"><i class="fa fa-plus"></i>我的健康</li>
      			<li onclick="location.href='dream.php'"><i class="fa fa-plus"></i>梦的解析</li>
      			<li onclick="location.href='question.php'"><i class="fa fa-plus"></i>问题咨询</li>
      			<li onclick="location.href='index.php'"><i class="fa fa-plus"></i>新闻资讯</li>
      			<li onclick="location.href='index.php'"><i class="fa fa-plus"></i>关于我们</li>
      		</ul>
      	</div>
      	<div class="tel">
      		<i class="fa fa-2x fa-phone" style="color: #13a8be;line-height: 106px;float: left;"></i>
      		<a style="float: right;font-size: 16px;line-height: 106px;margin:0px;" href="zhuce.html">登陆/注册</a>
      		<p style="float: right;font-size: 19px;line-height: 106px;margin: 0px;margin-right:10px;">13543223662</p>
      	</div>
      </div>
      <!--
      	导航栏结束
      -->
	   <div class="dream">
	   	<div class="dream-button">
	   		<button class="dream-button-inner" onclick="change()" style="font-size:14px;">你今天的心情？</button>
	   	</div>
	   	<div class="dream-word">
	   	<form action="result_judge.php" method="post">
	   		<div class="dream-word-inner">
	   		<p style="font-size: 26px;" class="change-p">希望你拥有美好的人生，奶油蛋糕和被打落的牙齿都可以往下咽。就算遇到再难再累的坎，只要你铁了心放过自己，那你就可以放过自己。这个世界是很不简单的，连保持每天大便通畅都很难</p>
	   		 <div style="width:100%;height:100%;display:none;" class="change-div">
	   		 	<input class="magic-radio" type="radio" name="fradio" id="happy" value="开心">
				<label for="happy" style="margin-left: 140px;">开心</label>
				<input class="magic-radio" type="radio" name="fradio" id="sad" value="难过" checked>
				<label for="sad">难过</label>
				<input class="magic-radio" type="radio" name="fradio" id="gentle" value="平静" >
				<label for="gentle">平静</label>
			
	   		   <textarea style="width:100%;height:200px;margin-top: 15px;font-size: 22px;" name="mj" class="feeling-textarea" placeholder="来谈谈你的梦境吧"></textarea>	
	   		   <input type="submit" style="top: 68%;" class="submit-button" />
	   		 </div>
	   		</div>
        </form>
	   	</div>
	   </div>
	   <script>
			function change(){
				$(".change-p").css("display","none");
				$(".change-div").css("display","block");
			}
		</script>
	</body>
</html>
